/*
 * @Author: qiuziz
 * @Date: 2017-08-15 10:56:38
 * */

/**
 * Created by zhouxing on 2016/12/9.
 */
import { handleActions } from 'redux-actions';
import { getMsg } from '../actions/hello';

const hello = handleActions({
	[getMsg]: (state, actions) => ({
		...state,
		msg: actions.payload
	})
}, {msg: ''})

export default hello;

